package com.flower.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 花卉文化实体类
 */
@Data
@TableName("flower_culture")
public class FlowerCulture implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    /**
     * 百科ID
     */
    @TableField("encyclopedia_id")
    private Long encyclopediaId;
    
    /**
     * 花语
     */
    @TableField("flower_language")
    private String flowerLanguage;
    
    /**
     * 诗词典故
     */
    @TableField("poetry")
    private String poetry;
    
    /**
     * 文化内涵
     */
    @TableField("cultural_meaning")
    private String culturalMeaning;
    
    /**
     * 文学典故
     */
    @TableField("literary_quotations")
    private String literaryQuotations;
    
    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;
    
    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;
} 